<div style="border-bottom:2px solid #DBE1E5; border-top:2px solid #DBE1E5; padding:5px 0 5px 5px; margin:0 0 20px 0 ">
	<img src="_tvs_system_core_/design/img/dicon_document_big.gif" style="margin:0 10px 0 0; vertical-align:middle">
	<span style="color:#CC0E00; font-weight:bold;">{$data.page.name}</span>
	<span style="margin:0 0 0 7px">( {t t=$data.page.type} )</span>
	<img src="client/img/spacer.gif" alt="" style="background-color:#DBE1E5; height:23px; width:1px; vertical-align:middle; margin:0 15px 0 15px " />
	<a onClick="openCenteredOnOpenerWindow('index.php?admin=1&id={$smarty.get.id}&popup=13','block_modif',400,300,1,0); return false" href="#"><img src="_tvs_system_core_/design/img/admin/_icon_page_properties.gif" style="vertical-align:middle; margin:0 5px 0 0 "> {t t='Redaguoti nuostatas'}</a>
</div>
{include file="admin/body/aditionalelements/tabs.htm"}
<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #C4CDD2; border-top:0px; background:#DBE1E5; padding:0px 5px 5px 5px">
	<tr>
		<td>
		
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td height="1" bgcolor="#ADB9BF"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>
				<td height="1" bgcolor="#E4E9EC"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>
				<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
		</table>		
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="1" bgcolor="#C4CDD2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>			
		</table>
		<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #C4CDD2; border-top:0px;">
			<tr>
				<td width="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td style="border:5px solid white; border-bottom:0px">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td style="border:1px solid #8CA2B1">


{ext->tree_get_fields assign="elements" id=$data.page.id}
<form action="index.php" method="post" name="form{$data.page.id}" enctype="multipart/form-data">
<input name="admin" type="hidden" value="1">
<input name="body" type="hidden" value="{$smarty.session.body}">
<input name="show_menu" type="hidden" value="{$smarty.get.show_menu}">
<input name="mod" type="hidden" value="product">
<input name="act" type="hidden" value="mod">
<input name="id_type" type="hidden" value="{$data.page.type}">
<input name="parent" type="hidden" value="{$data.page.id}">
<input type="hidden" name="referer" value="{ext->get_referer}">
{include file="admin/body/fields/selector.html"}
</form>

</td>		
</tr>
</table>
				
				<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td bgcolor="#FFFFFF" height="5">						
						{if $smarty.get.tpl_action=="edit_content" || $type_group || !$smarty.get.tpl_action}<input onClick="doSubmit('form{$data.page.id}'); return false;" type="button" value="{t t='Išsaugoti pakeitimus'}" class="defaultFormButton" style="margin:10px ">{/if}
						</td>		
					</tr>
				</table>
				
				</td>	
				<td width="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
		</table>
		
		
		
		
		</td>		
	</tr>	
</table>


{if !$first}
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="20"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
</table>

{/if}




